package com.woniuxy.dao;

import com.woniuxy.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @Author: 曾令忠
 * @Description:
 * @Date: 2020/7/3 0003-上午 10:36
 */
@Repository
public interface UserDao {
    @Select("select uname, pwd from user where uname=#{uname}")
    public User findUserByName(String uname);
}
